package com.dsg.dao.apply;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dsg.entity.apply.DsgApplyPay;
import com.dsg.entity.apply.DsgApplyStatus;
import com.dsg.util.BaseDao;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: erp
 * @description: 扣1元
 * @author: 賴利榮
 * @create: 2020-10-09 19:33
 */
@Repository
public interface DeductOneYuanMapper extends BaseDao<DsgApplyPay> {

    /**
     * 查询扣1元列表
     *
     * @param page
     * @param dsgApplyPay
     * @return
     */
    List<DsgApplyPay> selectDeductOneYuanList(Page<DsgApplyPay> page, @Param("en") DsgApplyPay dsgApplyPay);

    /**
     * 查询扣1元列表
     *
     * @param dsgApplyPay
     * @return
     */
    List<DsgApplyPay> selectDeductOneYuanList(@Param("en") DsgApplyPay dsgApplyPay);

    /**
     *
     * @param dsgApplyPay
     * @param list
     * @return
     */
    List<DsgApplyStatus> selectDsgApplyStatus(@Param("entCode") String dsgApplyPay, @Param("list") List<String> list);
}
